import {createRouter, createWebHistory} from "vue-router";

const routes = [
    {
        path: "/",
        name: "joinRate",
        component: () => import("@/components/joinRate.vue"),
    },
    {
        path: "/personalTraining",
        name: "PersonalTraining",
        component: () => import("@/components/PersonalTraining.vue"),
    },
    {
        path: "/subject",
        name: "Subject",
        component: () => import("@/components/Subject.vue"),
    },
    {
        path: "/score",
        name: "Score",
        component: () => import("@/components/Score.vue"),
    }
];
const router = createRouter({
    history: createWebHistory(),
    routes,
});
export default router;
